Lines Matching refs:ps
75 NinePixelShader9_UpdateKey( struct NinePixelShader9 *ps,
87 key = samplers_shadow & ps->sampler_mask;
88 samplers_fetch4 &= ps->sampler_mask;
90 if (unlikely(ps->byte_code.version < 0x20)) {
92 uint32_t m = ps->sampler_mask;
99 /* Note: For ps 1.X, only samplers 0 1 2 and 3 are available (except 1.4 where 4 and 5 are available).
100 * ps < 1.4: samplers_shadow 4b, samplers_ps1_types 8b, projected 8b
101 * ps 1.4: samplers_shadow 6b, samplers_ps1_types 12b
102 * Tot ps X.X samplers_shadow + extra: 20b */
103 assert((ps->byte_code.version < 0x14 && !(ps->sampler_mask & 0xFFF0)) || !(ps->sampler_mask & 0xFFC0));
105 if (unlikely(ps->byte_code.version < 0x14)) {
114 if (ps->byte_code.version < 0x30) {
119 /* centroid interpolation automatically used for color ps inputs */
123 if ((ps->const_int_slots > 0 || ps->const_bool_slots > 0) && context->inline_constants)
124 key |= ((uint64_t)nine_shader_constant_combination_key(&ps->c_combinations,
125 ps->int_slots_used,
126 ps->bool_slots_used,
131 res = ps->last_key != key;
133 ps->next_key = key;
138 NinePixelShader9_GetVariant( struct NinePixelShader9 *ps,