Home
last modified time | relevance | path

Searched refs:constant_flags (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_emit.c280 if (ifs->constant_flags[reg] == I915_CONSTFLAG_USER) in i915_emit_const1f()
283 if (!(ifs->constant_flags[reg] & (1 << idx)) || in i915_emit_const1f()
286 ifs->constant_flags[reg] |= 1 << idx; in i915_emit_const1f()
317 if (ifs->constant_flags[reg] == 0xf || in i915_emit_const2f()
318 ifs->constant_flags[reg] == I915_CONSTFLAG_USER) in i915_emit_const2f()
321 if (!(ifs->constant_flags[reg] & (3 << idx))) { in i915_emit_const2f()
324 ifs->constant_flags[reg] |= 3 << idx; in i915_emit_const2f()
346 if (ifs->constant_flags[reg] == 0xf && ifs->constants[reg][0] == c0 && in i915_emit_const4f()
350 } else if (ifs->constant_flags[reg] == 0) { in i915_emit_const4f()
356 ifs->constant_flags[reg] = 0xf; in i915_emit_const4f()
Di915_fpc_translate.c780 ifs->constant_flags[i] = I915_CONSTFLAG_USER; in i915_translate_token()
817 if (ifs->constant_flags[j] == 0x0) { in i915_translate_token()
821 ifs->constant_flags[j] = 0xf; /* all four comps used */ in i915_translate_token()
875 memset(ifs->constant_flags, 0, sizeof(ifs->constant_flags)); in i915_init_compile()
1022 if (fs->constant_flags[i] && in i915_translate_fragment_program()
1023 fs->constant_flags[i] != I915_CONSTFLAG_USER) { in i915_translate_fragment_program()
Di915_state_emit.c343 if (i915->fs->constant_flags[i] == I915_CONSTFLAG_USER) { in emit_constants()
356 (i915->fs->constant_flags[i] == I915_CONSTFLAG_USER in emit_constants()
Di915_context.h123 ubyte constant_flags[I915_MAX_CONSTANT]; member
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Di915_program.c311 if (p->constant_flags[reg] == I915_CONSTFLAG_PARAM) in i915_emit_const1f()
314 if (!(p->constant_flags[reg] & (1 << idx)) || in i915_emit_const1f()
317 p->constant_flags[reg] |= 1 << idx; in i915_emit_const1f()
346 if (p->constant_flags[reg] == 0xf || in i915_emit_const2f()
347 p->constant_flags[reg] == I915_CONSTFLAG_PARAM) in i915_emit_const2f()
350 if (!(p->constant_flags[reg] & (3 << idx))) { in i915_emit_const2f()
353 p->constant_flags[reg] |= 3 << idx; in i915_emit_const2f()
376 if (p->constant_flags[reg] == 0xf && in i915_emit_const4f()
382 else if (p->constant_flags[reg] == 0) { in i915_emit_const4f()
387 p->constant_flags[reg] = 0xf; in i915_emit_const4f()
[all …]
Di915_context.h173 GLuint constant_flags[I915_MAX_CONSTANT]; member