microsoft/compiler: domainLocation component index needs to be i8
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28339>
This commit is contained in:
@@ -80,7 +80,7 @@ static struct predefined_func_descr predefined_funcs[] = {
|
||||
{"dx.op.outputControlPointID", "i", "i", DXIL_ATTR_KIND_READ_NONE},
|
||||
{"dx.op.gsInstanceID", "i", "i", DXIL_ATTR_KIND_READ_NONE},
|
||||
{"dx.op.viewID", "i", "i", DXIL_ATTR_KIND_READ_NONE},
|
||||
{"dx.op.domainLocation", "f", "ii", DXIL_ATTR_KIND_READ_NONE},
|
||||
{"dx.op.domainLocation", "f", "ic", DXIL_ATTR_KIND_READ_NONE},
|
||||
{"dx.op.legacyF16ToF32", "f", "ii", DXIL_ATTR_KIND_READ_ONLY},
|
||||
{"dx.op.legacyF32ToF16", "i", "if", DXIL_ATTR_KIND_READ_ONLY},
|
||||
{"dx.op.makeDouble", "g", "iii", DXIL_ATTR_KIND_READ_NONE},
|
||||
|
||||
@@ -3292,7 +3292,7 @@ emit_load_tess_coord(struct ntd_context *ctx,
|
||||
for (unsigned i = 0; i < num_coords; ++i) {
|
||||
unsigned component_idx = i;
|
||||
|
||||
const struct dxil_value *component = dxil_module_get_int32_const(&ctx->mod, component_idx);
|
||||
const struct dxil_value *component = dxil_module_get_int8_const(&ctx->mod, component_idx);
|
||||
if (!component)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user