microsoft/spirv_to_dxil: Delete unused local variable
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16671>
This commit is contained in:
parent
beaaa84cea
commit
a88ac30d38
|
@ -479,9 +479,6 @@ static bool
|
||||||
fix_sample_mask_type(struct nir_builder *builder, nir_instr *instr,
|
fix_sample_mask_type(struct nir_builder *builder, nir_instr *instr,
|
||||||
void *cb_data)
|
void *cb_data)
|
||||||
{
|
{
|
||||||
struct dxil_spirv_runtime_conf *conf =
|
|
||||||
(struct dxil_spirv_runtime_conf *)cb_data;
|
|
||||||
|
|
||||||
if (instr->type != nir_instr_type_deref)
|
if (instr->type != nir_instr_type_deref)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue